package com.cosina.game.robodefence.model;

import com.cosina.game.robodefence.dao.MapsDao;


public class GameStartConfig {
	public static int level = 0;
	public static int mapId = 0;
	public static boolean soundEnable = false;
	
	public static void levelTryDown(){
		if(level > 0)
			level -- ;
	}
	public static void levelTryUp(){
		if(level < 10)
			level ++ ;
	}
	public static void mapTryUp(){
		mapId ++;
		mapId =  mapId%MapsDao.getMapCount();
	}
	public static void mapTryDown(){
		mapId += (MapsDao.getMapCount() - 1);
		mapId =  mapId%MapsDao.getMapCount();
	}
}
